// Copyright (c) 2000

package com.phevos.common.dbpool;

/**
 * ��ݿ�l�ӳ��ࡣ modify by zhaoch on 20040616: ��l�ӳش���ﵽһ�������,���³�ʼ��l�ӳ�
 */
public final class SpecificConnectionPool extends ConnectionPool
{
    private static SpecificConnectionPool bcp = null;

    /**
     * ˽�й����� ��������ļ���Ϣ��b��ݿ�l�ӳء�
     */
    private SpecificConnectionPool()
    {
        initDataSource();
    }

    /**
     * �����ݿ�l�ӳ�ʵ�� ����Ψһ�ܹ��õ�l�ӳ�ʵ��ķ�����
     */
    public static SpecificConnectionPool getInstance()
    {
        if (bcp != null)
            return bcp;

        bcp = new SpecificConnectionPool();

        return bcp;
    }

    String getPoolIdentifier()
    {
        return "specificpool";
    }

}
